<?php 
include  "./sec/protected.php"; /*Valida el inico de sesion*/

if ($_SESSION['USUA'])
{	
	session_destroy();
	echo '<script language = javascript>
	self.location = "index.php"
	</script>';
}
else
{
	echo '<script language = javascript>
	alert("No has iniciado sesion")
	self.location = "login.php"
	</script>';
}
?>
